<?php
/**
 * Created by PhpStorm.
 * User: User
 * Date: 2017/9/18
 * Time: 18:50
 */

for ($i=0;$i<=9;$i++){
    echo '<p>';
    for($j=1;$j<=$i;$j++){
        $h=$i*$j;
        echo $i.'*'.$j.'='.$h.'&nbsp&nbsp';
    }

}